module.exports = (sequelize, Types) => {
    const ProjectBucketModule = sequelize.define('ProjectBucketModule', {
        id: {
            type: Types.INTEGER,
            primaryKey: true,
            autoIncrement: true,
        },
        project_id: Types.INTEGER(11),
        app: Types.INTEGER(11),
        app_version: Types.VARCHAR(32),
        bucket: Types.CHAR(2),
        page_uri: Types.VARCHAR(20),
        module_id: Types.INTEGER(11),
        status: Types.INTEGER(11),
    },{
        tableName:'project_bucket_module'
    });
    ProjectBucketModule.sync();
    return ProjectBucketModule;
};